[Unit]
Description=kubelet
After=network.target

[Service]
Type=simple
ExecStart={{ kubernetes_path }}/server/bin/kubelet \
        --kubeconfig {{ kubernetes_path }}/server/conf/kubelet.kubeconfig \
        --pod-infra-container-image registry.cn-hangzhou.aliyuncs.com/google_containers/pause:3.2 \
        --root-dir {{ kubelet_data_path }} \
        --network-plugin cni \
        --config {{ kubernetes_path }}/server/conf/kubelet.conf
Restart=on-failure
RestartSec=1

[Install]
WantedBy=multi-user.target
